Removing unused parameter for Article::onArticleEdit() (removed code using this param...
authorLisa Ridley <lhridley@users.mediawiki.org>
Mon, 15 Mar 2010 13:35:00 +0000 (13:35 +0000)
committerLisa Ridley <lhridley@users.mediawiki.org>
Mon, 15 Mar 2010 13:35:00 +0000 (13:35 +0000)
includes/Article.php

index fb74d0e..1cde034 100644 (file)
@@ -3841,8 +3841,10 @@ class Article {
 
        /**
         * Purge caches on page update etc
+        *
+        * @param $title Title object
         */
-       public static function onArticleEdit( $title, $flags = '' ) {
+       public static function onArticleEdit( $title ) {
                global $wgDeferredUpdateList;
 
                // Invalidate caches of articles which include this page